package com.zhuiyun.project.api.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuiyun.project.api.article.entity.Article;
import com.zhuiyun.project.api.article.model.ArticleModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @InterfaceName ArticleMapper
 * @Description TODO 文章管理持久层
 * @Author 杨友朋
 * @Date 2023/11/15 15:07
 **/
@Mapper
public interface ArticleMapper  extends BaseMapper<Article> {
    /**
    * @Author 杨友朋
    * @Description 查询文章
    * @Date 2023/11/16 9:24
    * @Return List<ArticleModel>
    * @param article
    */
    List<ArticleModel> selectArticle(Article article);
}
